using HCore.Tests.Runtime.DianDianDian.Command;
using HCore.Unity.Behaviour;

namespace HCore.Tests.Runtime.DianDianDian.Game
{
    public class Enemy : HCoreMonoBehaviour
    {
        private void OnMouseDown()
        {
            Get().SetActive(false);
            PublishEvent(new KillEnemyCommand());
        }
    }
}